﻿namespace OpenReflect.Domain.Model.CodeStructure
{
	public class BinaryExpression : Expression
	{
		public BinaryExpression(Expression left, Expression right, BinaryOperator op) : base(ExpressionType.BinaryExpression)
		{
			Left = left;
			Right = right;
			Operator = op;
		}

		public BinaryOperator Operator { get; set; }
		public Expression Left { get; private set; }
		public Expression Right { get; private set; }
	}
}